package org.zs.miracle.entity.system;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serial;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.zs.miracle.common.base.entity.AbstractBaseEntity;

@EqualsAndHashCode(callSuper = false) @Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_user_role")
public class UserRoleEntity extends AbstractBaseEntity {
  
  @Serial
  private static final long serialVersionUID = -2510671353986711029L;
  
  /**
   * 角色id
   */
  private Long roleId;
  
  /**
   * 用户id
   */
  private Long userId;
}